import { defineConfig } from 'umi';
import { Button } from 'antd';
// 引入代理
import proxy from './proxy';

// 引入路由
import routes from './routes';

export default defineConfig({
  nodeModulesTransform: {
    type: 'none',
  },
  routes,
  // routes: [{ path: '/', component: '@/pages/index', name: '1231' }],
  fastRefresh: {},
  layout: {
    name: '赤兔养车',
    logo: 'http://xawn.f3322.net:8002/dist/static/img/logo.png',
    // copy from pro site
    navTheme: 'dark',
    primaryColor: '#1890ff',
    layout: 'sidemenu',
    contentWidth: 'Fluid',
    fixedHeader: false,
    fixSiderbar: false,
    title: '赤兔养车',
    pwa: false,
    iconfontUrl: '',
  },
});
